AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )

include( "shared.lua" )
 
ENT.RenderGroup = RENDERGROUP_BOTH

function ENT:CreateBlock( owner, pos, ang )
	local prop = ents.Create( "block_barricade" )
	prop:SetPos( pos )
	prop:SetAngles( ang )
	prop:Spawn()
	prop:GetPhysicsObject():EnableMotion( false )
	MsgN( prop )
end

function ENT:Initialize()

	self:SetModel( "models/hunter/blocks/cube05x05x05.mdl" )
	self:PhysicsInit( SOLID_VPHYSICS )
	self:SetMoveType( MOVETYPE_NONE )
	self:SetSolid( SOLID_VPHYSICS )
	
end
